package com.wb.mas.ui.refund;

import androidx.annotation.NonNull;
import androidx.databinding.ObservableField;

import com.wb.mas.entity.CodeEntity;
import com.wb.mas.entity.HelpEntity;
import com.wb.mas.entity.PayEntity;
import com.wb.mas.ui.help.HelpViewModel;

import me.goldze.mvvmhabit.base.ItemViewModel;

/**
 * Copyright (C) 2018
 * OrderItemViewModel
 * <p>
 * Description
 *
 * @author Administrator
 * @version 1.0
 * <p>
 * Ver 1.0, 2019/4/30 0030, Administrator, Create file
 */
public class RefundItemViewModel extends ItemViewModel<RefundViewModel> {

    public ObservableField<CodeEntity> entity = new ObservableField<>();


    public RefundItemViewModel(@NonNull RefundViewModel viewModel, CodeEntity codeEntity) {
        super(viewModel);
        entity.set(codeEntity);
    }

    public String getString(int resId) {
        return viewModel.getString(resId);
    }
}
